package com.stagegateway.gateway.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.stagecommon.common.pojo.RoleMenus;
import com.stagecommon.common.vo.MenusVo;
import com.stagegateway.gateway.mapper.RoleMenusMapper;
import com.stagegateway.gateway.service.RoleMenusService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author SAYE
* @description 针对表【role_menus(角色菜单表)】的数据库操作Service实现
* @createDate 2024-03-25 17:16:29
*/
@Service
public class RoleMenusServiceImpl extends ServiceImpl<RoleMenusMapper, RoleMenus>
    implements RoleMenusService {

    @Override
    public List<String> getMenuCodeListByRoleId(Integer roleId) {
        return baseMapper.selectMenuListByRoleId(roleId);
    }
}




